subsample

USAGE: subsample inimg outimg [-r SAMPLE_RATE <2>]
                              [-d DEG_FILTERING <0.5>] [-q] [-L]

subsample performs subsampling after low-pass
filtering on image; the default filter is a Gaussian

ARGUMENTS:
    inimg: input image filename (TIF)
   outimg: output image filename (TIF)

OPTIONS:
    -r SAMPLE_RATE: rate of image reduction; the default setting
                   -r 2 reduces rate to reduce image by 2 in x and y).
  -d DEG_FILTERING: value set between 0.0 and 1.0 controlling
                    the degree of low-pass filtering; a value
                    of 1.0 produces maximum filtering to reduce aliasing,
                    but may lead to blurring;
                    a value of 0.0 does no filtering at the risk of aliasing.
                    the default is 0.5.
                -q: when set, performs quick low-pass filtering
                    rectangular filter rather than Gaussian filter;
                    the former is faster but doesn't produce equally
                    good results as does the latter.
                -L: print Software License for this module
 

 
 

Example:

subsample 52021.tif 52021s4.tif -r 4

52021.tif:

52021s4.tif:

Copyright (C) 1999 MLMSoftware Group, LLC.